package com.xxx.system.service;


import com.xxx.system.domain.Permission;
import com.xxx.system.query.PermissionQuery;

import java.util.List;

public interface IPermissionService {

    void addPermission(Permission permission);

    void updatePermission(Permission permission);

    void deleteById(Long id);

    Permission findOne(Long id);

    List<Permission> findAllPerm();

    List<Permission> queryPage(PermissionQuery permissionQuery);

    void deletePermissionByIds(Long[] ids);

    Permission selectBySn(String permissionSn);
}